﻿using AgencyManagerSystem.Common;
using AgencyManagerSystem.DataFetcher;
using AgencyManagerSystem.DataUpdater;
using AgencyManagerSystem.Model;
using AgencyManagerSystem.AsmType;
using System;

namespace AgencyManagerSystem.Core
{
    public class DepartmentManager : DocManager<DepartmentModel>
    {
        protected override BaseUpdater<DepartmentModel> InjectionUpdater()
        {
            DepartmentUpdaterCreator departmentUpdaterCreator = new DepartmentUpdaterCreator();
            DepartmentUpdater updater = departmentUpdaterCreator.CreateDepartmentUpdaterInstance();
            return updater;
        }
    }
}
